#ifndef DBREADER_H
#define DBREADER_H

#include <QtCore>
#include <QtSql>


class QString;
class QSettings;

class DBReader
{
public:
    DBReader();
    QString getDbServer();
    QString getDbUserName();
    QString getDbName();
    QString getDbPassword();


    QString dbServer;
    QString dbUserName;
    QString dbName;
    QString dbPassword;

    void setDbServer(QString str);
    void setDbUserName(QString str);
    void serDbName(QString str);
    void setDbPassword(QString str);

    QSettings *sett;

};

#endif // DBREADER_H
